<?php
/**
 * $Id: login.php 10 2011-05-31 00:14:48Z bordjukov@gmail.com $
 */
?>
<generic>
	<template>
		<VBox width="100%" height="100%" id="index">
			<HBox width="100%" height="100%" verticalAlign="middle" horizontalGap="0" backgroundColor="#4f4f4f">
				<VBox id="logon" width="100%" horizontalAlign="center">
					<Panel title="Time aNd Task Login" paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
						<VBox name="Front" horizontalAlign="center">
							<Image source="images/tnt-logo_256.png"/>
							<HBox horizontalGap="0">
								<VBox id="loginform" horizontalAlign="right" verticalGap="10">
									<Form id="myForm" defaultButton="{myDefaultBt}" horizontalAlign="right">
										<FormItem label="Username" >
											<TextInput id="loginUsername" width="260" themeColor="#8cbf40"/>
										</FormItem>
										<FormItem label="Password">
											<TextInput id="loginPassword" width="260" displayAsPassword="true" themeColor="#8cbf40"/>
										</FormItem>

										<FormItem>
											<Button label="Login" color="#2b333c" width="80" borderColor="#8cbf40" themeColor="#8cbf40" click="dispatchEvent(myForm, 'home')" id="myDefaultBt" />
										</FormItem>
										<FormItem>
											<LinkButton label="Register" width="80" rollOverColor="#cfcfd0" selectionColor="#8cbf40" color="#cfcfd0" fontSize="10" click="dispatchEvent(myForm, 'registration')"/>
										</FormItem>
									</Form>
								</VBox>
							</HBox>
						</VBox>
					</Panel>
				</VBox>
			</HBox>
		</VBox>
	</template>
	<commands>
		<removeAll/>
	</commands>
</generic>
